package com.ruoyi.used.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * Banner图对象 used_banner
 * 
 * @author ruoyi
 * @date 2020-07-09
 */
public class UsedBanner extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long baId;

    /** banner图 */
    @Excel(name = "banner图")
    private String bannerImg;

    /** 图片名称 */
    @Excel(name = "图片名称")
    private String bannerName;

    /** 排序 */
    @Excel(name = "排序")
    private Long bannerSort;

    public void setBaId(Long baId) 
    {
        this.baId = baId;
    }

    public Long getBaId() 
    {
        return baId;
    }
    public void setBannerImg(String bannerImg) 
    {
        this.bannerImg = bannerImg;
    }

    public String getBannerImg() 
    {
        return bannerImg;
    }
    public void setBannerName(String bannerName) 
    {
        this.bannerName = bannerName;
    }

    public String getBannerName() 
    {
        return bannerName;
    }
    public void setBannerSort(Long bannerSort) 
    {
        this.bannerSort = bannerSort;
    }

    public Long getBannerSort() 
    {
        return bannerSort;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("baId", getBaId())
            .append("bannerImg", getBannerImg())
            .append("bannerName", getBannerName())
            .append("bannerSort", getBannerSort())
            .toString();
    }
}
